package com.java.rest.utils.rest;

import lombok.Data;

/**
 * @author 陈烽
 */
@Data
public class RestData {
    private boolean success;
    private String errorMessage;
    private Object data;

    RestData(Object data) {
        this.success = true;
        this.data = data;
    }

}
